package com.zx.BookSeaReader.greendao.entity;



public class BookRecordBean {
    private String bookRecordId;
    //所属的书的id
    private String bookId;
    //所属的用户id
    private Long userId;
    //阅读到了第几章
    private int chapter;
    //当前的页码
    private int pagePos;

    private String historyChapterId;//上次关闭时的章节ID

    private int histtoryChapterNum;//上次关闭时的章节数

    private int noReadNum;//未读章数量

    public String getBookRecordId() {
        return bookRecordId;
    }

    public void setBookRecordId(String bookRecordId) {
        this.bookRecordId = bookRecordId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getHistoryChapterId() {
        return historyChapterId;
    }

    public void setHistoryChapterId(String historyChapterId) {
        this.historyChapterId = historyChapterId;
    }

    public int getHisttoryChapterNum() {
        return histtoryChapterNum;
    }

    public void setHisttoryChapterNum(int histtoryChapterNum) {
        this.histtoryChapterNum = histtoryChapterNum;
    }

    public int getNoReadNum() {
        return noReadNum;
    }

    public void setNoReadNum(int noReadNum) {
        this.noReadNum = noReadNum;
    }

    public int getLastReadPosition() {
        return lastReadPosition;
    }

    public void setLastReadPosition(int lastReadPosition) {
        this.lastReadPosition = lastReadPosition;
    }

    public String getLastRead() {
        return lastRead;
    }

    public void setLastRead(String lastRead) {
        this.lastRead = lastRead;
    }

    private int lastReadPosition;//上次阅读到的章节的位置

    private String lastRead;//最后阅读时间

    public BookRecordBean(String bookId, int chapter, int pagePos) {
        this.bookId = bookId;
        this.chapter = chapter;
        this.pagePos = pagePos;
    }

    public BookRecordBean() {
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public int getChapter() {
        return chapter;
    }

    public void setChapter(int chapter) {
        this.chapter = chapter;
    }

    public int getPagePos() {
        return pagePos;
    }

    public void setPagePos(int pagePos) {
        this.pagePos = pagePos;
    }
}
